<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE HTML>
<html>
	<head>
		<%@ include file="/common/include/title.jsp"%>
		<title>管理员查看 - 用户管理 - 用户中心</title>
		<meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
		<meta name="description" content="H-ui.admin v3.1，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
	</head>
	<body>
		<nav class="breadcrumb">
			<i class="Hui-iconfont">&#xe67f;</i> 首页
			<span class="c-gray en">&gt;</span> 用户管理
			<span class="c-gray en">&gt;</span> 管理员查看
			<a class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px"
				href="javascript:location.replace(location.href);" title="刷新">
				<i class="Hui-iconfont">&#xe68f;</i>
			</a>
		</nav>
		<article class="page-container">
			<form class="form form-horizontal" id="form">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3">角色：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.one.role.name  }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>邮箱：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.one.email }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>真实姓名：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.one.trueName }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>qq：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.one.qq }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>手机号：</label>
					<div class="formControls col-xs-8 col-sm-9">
						${requestScope.one.phone }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>性别：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${requestScope.one.sexStr }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>状态：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${requestScope.one.statusStr }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>登陆次数：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${requestScope.one.loginCount }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>登陆ip(上次)：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${requestScope.one.lastLoginIp }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>登陆失败次数：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						${requestScope.one.loginFailedCount }
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>登陆失败时间(上次)：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<fmt:formatDate value="${requestScope.one.loginFailedTime }" pattern="${dateTimeFormat }"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>创建时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<fmt:formatDate value="${requestScope.one.createTime }" pattern="${dateTimeFormat }"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>创建时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<fmt:formatDate value="${requestScope.one.createTime }" pattern="${dateTimeFormat }"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>更新时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<fmt:formatDate value="${requestScope.one.updateTime }" pattern="${dateTimeFormat }"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>上次登陆时间：</label>
					<div class="formControls col-xs-8 col-sm-9 skin-minimal">
						<fmt:formatDate value="${requestScope.one.lastloginTime }" pattern="${dateTimeFormat }"/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>原照片：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<c:choose>
							<c:when test="${requestScope.one.photoPath != null && requestScope.one.photoPath != ''}">
								<img alt="" src="${rootPath }${requestScope.one.photoPath}" width="150" height="150" style="border-radius: 10px">
							</c:when>
							<c:otherwise>
								<img alt="" src="${rootPath }/img/no_pic.jpg" width="150" height="150" style="border-radius: 10px">
							</c:otherwise>
						</c:choose>
					</div>
				</div>
			</form>
		</article>
		
		<%@ include file="/common/include/footer.jsp"%>
	</body>
</html>